<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8" />
	<link rel="stylesheet" href="css/form.css" />
</head>

<body>
	<div id="header-wrap" data-mn="0">
		<a href="###" data-link="home" data-type="ico" class="left ico-m ico-home"></a>
		<h2>注册赢本金</h2>
		<a href="###" data-link="login" class="right btn b-small b-red">登录</a>
	</div>
	<div class="" id="">
		<div class="tips">
			<div class="t-error"></div>
		</div>
		<form>
		<ul class="form-list">
			<li class="ico-m ico-pl ico-plus-s" data-type="ico">
				<div class="fl-cont form-input">
					<input id="yqm" type="number" placeholder="请输入邀请码" value="1058851" />
				</div>
			</li>
		</ul>
		<div class="">
			<a href="###" data-link="register-2" class="btn  b-red"><span id="check">下一步</span></a>
			<a href="###" data-type="ico" data-dialog="how" class="ico-s ico-info ico-pl b-link btn right">如何获得邀请码？</a>
			<div id="how" class="dialog">
				<div class="d-wrap">
					<div class="d-cont">
						<h3>如何获得邀请码？</h3>
						<ol class="">
							<li class="">
							关注微信公众号“wuyifugui”
							</li>
							<li class="">
							demo版的邀请码是<b style="font-size: 16px;color: #e73335">1058851</b>
							</li>
						</ol>
					</div>
				</div>
			</div>
		</div>
		</form>
		
	</div>
	<script>
	$(function(){
		$("#check").on("click",function(){
			var yqm = $("#yqm").val();
			
			if(yqm !== "1058851"){
				$(".t-error").text("无效邀请码，请点击右下方按钮获取邀请码").fadeIn(100)
				reset_tip()
				return false
			}
		})
		
	})
	</script>	
</body>

</html>
